package org.example.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.mbg.model.TRoleDataScope;
import org.example.mbg.model.TRoleDataScopeExample;

public interface TRoleDataScopeMapper {
    long countByExample(TRoleDataScopeExample example);

    int deleteByExample(TRoleDataScopeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TRoleDataScope record);

    int insertSelective(TRoleDataScope record);

    List<TRoleDataScope> selectByExample(TRoleDataScopeExample example);

    TRoleDataScope selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TRoleDataScope record, @Param("example") TRoleDataScopeExample example);

    int updateByExample(@Param("record") TRoleDataScope record, @Param("example") TRoleDataScopeExample example);

    int updateByPrimaryKeySelective(TRoleDataScope record);

    int updateByPrimaryKey(TRoleDataScope record);
}